#ifndef USERINFO_H
#define USERINFO_H

#include <QDialog>
#include "database.h"
#include <QMessageBox>
#include <qdebug.h>

namespace Ui {
class UserInfo;
}

class UserInfo : public QDialog
{
    Q_OBJECT

public:
    int m_uid;
    Database myDatabase;
    explicit UserInfo(QWidget *parent = nullptr,int uid = 0);
    ~UserInfo();

private slots:
    void on_Ensure_clicked();

    void on_display_clicked();

    void on_VIP_clicked();

private:
    Ui::UserInfo *ui;
};

#endif // USERINFO_H
